#include "udp_server.h"

int main(int argc, char* argv[])
{
  if(argc != 2)
  {
    cout << "Usage：./ServerName ServerPort" << endl;
  }

  UdpServer* svr = new UdpServer((unsigned short)atoi(argv[1]));
  svr->InitUdpServer();
  svr->LoopServer();

  return 0;
}
